/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Creational.FactoryMethod;

/**
 *
 * @author alumno
 */
public class Test {
    public static void main(String[] argv){
    MetodoDeFactoriaTriangulo fTriangulo = new FactoriaDetriangulo();
    Triangulo triangulo = fTriangulo.crearTriangulo(10, 10, 10);
    System.out.println(triangulo.descripcion());
    }
}
